<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>

    <link href="{{ asset('css/bootstrap.min.css') }}" rel="stylesheet" media="screen">

    <title>{% block title %}Hyperx::Admin{% endblock %}</title>
</head>
<body>

<div class="container" style="padding: 50px">


{% if error %}
    <div>{{ error.message }}</div>
{% endif %}

<form action="{{ path('login_check') }}" method="post" class="form-horizontal">
    <input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />
    <fieldset>
        <legend>User Authorize</legend>
        <div class="control-group">
            <label for="username" class="control-label">Username:</label>
            <input type="text" id="username" name="_username" value="{{ last_username }}" />
        </div>

        <div class="control-group">
            <label for="password" class="control-label">Password:</label>
            <input type="password" id="password" name="_password" />
        </div>

            <button type="submit" class="btn btn-success">login</button>
</form>
    <div>
</body>
</html>